package com.dingdang.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 省份信息表
 * </p>
 *
 * @author 董书乾
 * @since 2021-12-17
 */
@Data

@Accessors(chain = true)
@TableName("tb_provinces")
@ApiModel(value="TbProvinces对象", description="省份信息表")
public class TbProvinces implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "省份ID")
    @TableField("provinceid")
    private String provinceid;

    @ApiModelProperty(value = "省份名称")
    @TableField("province")
    private String province;


}
